# use third libs
set(cies_DIR ${COMMON_THIRD_LIB}/cies)

# =============================================================================
# Find packages
macro(use_cies ag_project_name)
  target_compile_definitions(${ag_project_name} PRIVATE USE_LIB_CIES)
  target_include_directories(${ag_project_name} PRIVATE ${cies_DIR}/include)
  
  target_link_directories(${ag_project_name} PRIVATE ${cies_DIR}/lib_x64)

  target_link_libraries(${ag_project_name} PRIVATE 
    ColorImageEngineServer 
    #DumpCatchDll
    #log4cplusU$<$<CONFIG:Debug>:D
    #msvcp120$<$<CONFIG:Debug>:d
    #msvcr120$<$<CONFIG:Debug>:d
    #UltrasoundImagingAlgorithm
    )
endmacro(use_cies)